<%@ page import="mdr.demo.Product" %>



<div class="fieldcontain ${hasErrors(bean: productInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="product.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${productInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: productInstance, field: 'category', 'error')} ">
	<label for="category">
		<g:message code="product.category.label" default="Category" />
		
	</label>
	<g:textField name="category" maxlength="50" value="${productInstance?.category}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: productInstance, field: 'description', 'error')} ">
	<label for="description">
		<g:message code="product.description.label" default="Description" />
		
	</label>
	<g:textField name="description" maxlength="200" value="${productInstance?.description}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: productInstance, field: 'customers', 'error')} ">
	<label for="customers">
		<g:message code="product.customers.label" default="Customers" />
		
	</label>
	
</div>

